package com.zhicheng.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CategoryVO {

    private Long id;//主键ID
    private String name;//分类名称
    private String categoryPic;//分类图片
    private List<CategoryVO> children = new ArrayList<>();//子分类
    private List<GoodVO> goods = new ArrayList<>();//商品

}
